<!--Gitalk评论start  -->
<section class="comment-area">
  <div class="comment-wrapper">
      {% if site.gitalk.enable %}
      <!-- 引入Gitalk评论插件  -->
      <link rel="stylesheet" href="https://unpkg.com/gitalk/dist/gitalk.css">
      <script src="https://unpkg.com/gitalk@latest/dist/gitalk.min.js"></script>
      <div id="gitalk-container"></div>
      <script type="text/javascript">
          var gitalk = new Gitalk({
          clientID: '{{site.gitalk.clientID}}',
          clientSecret: '{{site.gitalk.clientSecret}}',
          repo: '{{site.gitalk.repo}}',
          owner: '{{site.gitalk.owner}}',
          admin: ['{{site.gitalk.admin}}'],
          distractionFreeMode: {{site.gitalk.distractionFreeMode}},
          id: window.location.pathname,
          });
          gitalk.render('gitalk-container');
      </script>

      {% endif %}
      <!-- Gitalk end -->
</div>
</section> <!-- End Comment Area -->
